FROM tomcat:9-jdk8
ADD ./app_tomcat/ruoyi-admin.war /usr/local/tomcat/webapps/ROOT.war
ENV JAVA_OPTS "$JAVA_OPTS -Dspring.profiles.active=test"
EXPOSE 8080
